package com.qfedu.mall;

import com.qfedu.mall.mapper.UserDao;
import com.qfedu.mall.service.UserService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest(classes = application.class)
public class test {

    @Autowired
    private UserDao userDao;

    @Autowired
    private UserService service;

//    @Test
//    public void test(){
//        System.out.println(userDao.selectCount());
//    }
//
    @Test
    public void test1(){
        System.out.println(userDao.selectUserById(1));
    }





}
